//
//  MBProgressHUD+QYHUD.h
//  CarPooling
//
//  Created by Dxc_iOS on 2018/5/21.
//  Copyright © 2018年 代星创. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (QYHUD)
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
+ (void)showSuccess:(NSString *)success;

+ (void)showError:(NSString *)error toView:(UIView *)view;
+ (void)showError:(NSString *)error;

+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;
+ (MBProgressHUD *)showMessage:(NSString *)message;


+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;

@end
